home *** CD-ROM | disk | FTP | other *** search
- /*
- # ***** BEGIN LICENSE BLOCK *****
- # Version: MPL 1.1/GPL 2.0/LGPL 2.1
- #
- # The contents of this file are subject to the Mozilla Public License Version
- # 1.1 (the "License"); you may not use this file except in compliance with
- # the License. You may obtain a copy of the License at
- # http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS IS" basis,
- # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- # for the specific language governing rights and limitations under the
- # License.
- #
- # The Original Code is Mozilla Help CSS
- #
- # The Initial Developer of the Original Code is
- # R.J. Keller
- # Portions created by the Initial Developer are Copyright (C) 2003
- # the Initial Developer. All Rights Reserved.
- #
- # Contributor(s):
- #
- # Alternatively, the contents of this file may be used under the terms of
- # either the GNU General Public License Version 2 or later (the "GPL"), or
- # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- # in which case the provisions of the GPL or the LGPL are applicable instead
- # of those above. If you wish to allow use of your version of this file only
- # under the terms of either the GPL or the LGPL, and not to allow others to
- # use your version of this file under the terms of the MPL, indicate your
- # decision by deleting the provisions above and replace them with the notice
- # and other provisions required by the GPL or the LGPL. If you do not delete
- # the provisions above, a recipient may use your version of this file under
- # the terms of any one of the MPL, the GPL or the LGPL.
- #
- # ***** END LICENSE BLOCK *****
- */
- @import url("chrome://global/skin/");
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- .toolbarbutton-1 {
- -moz-box-orient: vertical;
- min-width: 32px;
- }
-
- .browserButton {
- -moz-box-orient: vertical;
- min-width: 0px;
- }
-
- .toolbarbutton-1, .browserButton, .toolbarbutton-menubutton-button {
- padding: 2px;
- }
-
- .toolbarbutton-1 .toolbarbutton-icon,
- .browserButton .toolbarbutton-icon {
- margin-right: 0px;
- }
-
- #helpToolbar[mode="full"] .toolbarbutton-1,
- #helpToolbar[mode="full"] .browserButton,
- #helpToolbar[mode="full"] .toolbarbutton-menubutton-button {
- min-width: 57px;
- }
-
- toolbarbutton:not([disabled="true"]):hover,
- menubutton:not([disabled="true"]):hover,
- toolbarbutton:not([disabled="true"]):hover:active,
- menubutton:not([disabled="true"]):hover:active {
- color: #6E85A8 !important;
- }
-
- /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
- #helpsidebar-box { width: 200px; }
-
- #help-back-button {
- list-style-image: url("chrome://browser/skin/icons/back.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-back-button:hover,
- #help-back-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-back-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- #help-forward-button {
- list-style-image: url("chrome://browser/skin/icons/forward.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-forward-button:hover,
- #help-forward-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-forward-button[disabled="true"] {
- -moz-image-region: rect(64px 32px 96px 0px);
- }
-
- #help-find-button {
- list-style-image: url("chrome://help/skin/help-find.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-find-button:hover,
- #help-find-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-toolbar-customization {
- list-style-image: url("chrome://help/skin/customize.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-toolbar-customization:hover,
- #help-toolbar-customization[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-home-button {
- list-style-image: url("chrome://browser/skin/icons/home.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-home-button:hover,
- #help-home-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-print-button {
- list-style-image: url("chrome://browser/skin/icons/print.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-print-button:hover,
- #help-print-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-zoom-large-button {
- list-style-image: url("chrome://help/skin/zoom-large.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-zoom-large-button:hover,
- #help-zoom-large-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-zoom-small-button {
- list-style-image: url("chrome://help/skin/zoom-small.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-zoom-small-button:hover,
- #help-zoom-small-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- #help-sidebar-button {
- list-style-image: url("chrome://help/skin/sidebar.png");
- -moz-image-region: rect(0px 32px 32px 0px);
- }
-
- #help-sidebar-button:hover,
- #help-sidebar-button[buttonover="true"] {
- -moz-image-region: rect(32px 32px 64px 0px);
- }
-
- /** Toolbar Customization stuff **/
-
- toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
- toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text,
- toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
- toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
- display: -moz-box;
- }
-
- toolbar[mode="icons"] .toolbarbutton-text,
- toolbar[mode="text"] .toolbarbutton-icon {
- display: none;
- }
-
- /* Small icons are not supported. */
- #smallicons { display: none; }
-
- /*** THROBBER ***/
-
- #help-throbber {
- -moz-appearance: none !important;
- -moz-user-focus: ignore;
- -moz-box-pack: center;
- list-style-image: url("chrome://browser/skin/icons/throbber.png");
- min-width: 0;
- height: 32px;
- margin: 0 6px !important;
- padding: 0 !important;
- background: transparent !important;
- border: none !important;
- }
-
- #help-throbber .button-box {
- background: none !important;
- padding: 0 !important;
- }
-
- #help-throbber[busy="true"] {
- list-style-image: url("chrome://browser/skin/icons/throbber.gif");
- }
-